﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CaramelEngine.Dice
{
    public class DiceCollection : IDiceCollection
    {
        // Key: Dice Sides
        public Dictionary<int, int> DiceRepository = new Dictionary<int, int>();

        public List<int> TypesOfDice
        {
            get { return DiceRepository.Keys.ToList(); }
        }

        public int DiceTotal
        {
            // TODO:
            get { return DiceRepository.Values.Sum(); }
        }
    }
}
